home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 February
/
EnigmA AMIGA RUN 34 (1999)(G.R. Edizioni)(IT)[!][issue 1999-02].iso
/
earcd
/
-recent3
/
wblaunch.readme
< prev
next >
Wrap
Text File
|
1999-01-01
|
4KB
|
137 lines
Short: Simulate WB startup from Shell
Author: Stephen Williams <sw@fysh.org>
Uploader: Stephen Williams <sw@fysh.org>
Version: 1.1
Type: util/cli
Requires: AmigaOS 3.0+, util/libs/WBStart.lha
Replaces: util/cli/WBLaunch.lha
=============================================
WBLaunch 1.1, (c) 1998, 1999 Stephen Williams
=============================================
1. What is it?
2. What do I need to use it?
3. How do I use it?
4. Acknowledgements
5. Legal
6. Changes
7. The author
1. What is it?
--------------
WBLaunch is a program whose sole aim in life is to launch other
programs from the Shell, simulating Workbench startup. It does this
with the aid of Stefan Becker's excellent wbstart.library.
2. What do I need to use it?
----------------------------
You need AmigaOS release 3.0 or above. wbstart.library requires this
OS, so I made WBLaunch check for release 3.0 and refuse to start if it
isn't present. You will also need wbstart.library release 2.0 or
greater, a copy of which can be got from Aminet (util/libs/WBStart.lha).
3. How do I use it?
-------------------
Copy WBLaunch into your C directory. If your dearchiver junked the
protection bits, then do
protect c:WBLaunch prwed
WBLaunch may, of course, be used only from the Shell ;-)
WBLaunch expects arguments according to the following template:
PROGRAM/A,ARGS/M,VERBOSE/S,PRI=PRIORITY/N/K
PROGRAM is the name of the program you want to launch. WBLaunch will
search your path for this; alternatively, you may specify a full
pathname. For example:
WBLaunch sys:Utilities/Clock
WBLaunch Clock
ARGS are the arguments you want to pass. From Workbench, you'd do
this by holding SHIFT and clicking in turn on the icons of the files
you want to pass as arguments. WBLaunch will attempt to Lock() each
of the arguments you pass, and will only pass on arguments which can
be successfully Lock()ed.
If you specify the VERBOSE switch, WBLaunch will tell you the full
path of the program which it has launched, and the arguments which
have been specified.
The PRI argument may be used to specify a priority for the process to
be started, for example
WBLaunch CPUThrasher pri=-10
Once the Workbench process has been started, WBLaunch will return -
there's no need to run it in the background.
I recommend that you place a line like this in your User-Startup:
Resident name=WB c:WBLaunch
If you do this, you can simulate starting a program from Workbench
simply by prefixing its name with "wb".
Don't use WBLaunch to start Format or DiskCopy. On my machine, it
barfs. I haven't got a clue why. Mind you, I haven't got a clue
why you'd want to use WBLaunch to start Format or DiskCopy in the
first place ;-)
4. Acknowledgements
-------------------
wbstart.library is (c) 1991-1996 by Stefan Becker.
5. Legal
--------
WBLaunch 1.1 is distributed as open source software under the terms of
the GNU General Public Licence (GPL). You should have received a copy
of the GPL along with this program; the file should have been named
"COPYING". If you did not receive it, you can obtain a copy by
writing to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA.
The GPL permits modification of this program, and distribution of the
modified copy, provided the source code is included. If you do decide
to do this, I request that you indicate this in the version number of
your modified copy. For example, if you name is John Smith, and your
version is based on WBLaunch 1.1, you might call your version
"WBLaunch 1.1js1". This will help distinguish modified WBLaunches
from the original, without removing your rights to derive new works
from the original source. This request complies with clause 2a of the
GPL.
Please send me any modifications you make; I might want to include
them in the next "official" release of WBLaunch.
6. Changes
----------
Version 1.0 (July 7, 1998):
- Initial release.
Version 1.1 (February 14, 1999):
- Fixed a bug; WBLaunch was unable to find programs if the path was
specified relative to the current directory;
- WBLaunch is now open source, released under the terms of the GNU
General Public Licence.
7. The author
--------------
Stephen Williams, sw@fysh.org, http://www.nysa.u-net.com/
Check out http://www.nysa.u-net.com/software/ for other programs
by me.